From: Daniel Kiper Date: Wed, 18 Aug 2010 15:48:25 +0000 (+0100) Subject: tools/xenpaging: Add _XOPEN_SOURCE to fix build problems with recent gcc X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~11614 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=730381aa46fc64c0477cab521ef97fa03697f447;p=xen.git tools/xenpaging: Add _XOPEN_SOURCE to fix build problems with recent gcc This patch fixes compilation issues with gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21). Signed-off-by: Daniel Kiper Signed-off-by: Ian Jackson --- diff --git a/tools/xenpaging/xenpaging.c b/tools/xenpaging/xenpaging.c index 72d131161b..e6ed4a6f9f 100644 --- a/tools/xenpaging/xenpaging.c +++ b/tools/xenpaging/xenpaging.c @@ -19,6 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#define _XOPEN_SOURCE 600 #include #include